package com.stm.bi.repository.dataobject;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

/**
* 同步记录-持久对象
*
* @author 阿俊
* @date 2024-01-22
*/
@TableName("b_doris_load_record")
public class DorisLoadRecordDO {
    private Long txnId;
    private String traceId;
    private LocalDateTime loadTime;
    private String schemaName;
    private String tableName;
    private String status;
    private String message;
    private Long numberTotalRows;
    private Long numberLoadedRows;
    private Long numberFilteredRows;
    private Long numberUnselectedRows;
    private Long readDataTimeMs;
    private Long writeDataTimeMs;
    private Long receiveDataTimeMs;
    @TableField(value = "error_url")
    private String errorURL;

    public Long getTxnId() {
        return txnId;
    }

    public DorisLoadRecordDO setTxnId(Long txnId) {
        this.txnId = txnId;
        return this;
    }

    public String getStatus() {
        return status;
    }

    public DorisLoadRecordDO setStatus(String status) {
        this.status = status;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public DorisLoadRecordDO setMessage(String message) {
        this.message = message;
        return this;
    }

    public Long getNumberTotalRows() {
        return numberTotalRows;
    }

    public DorisLoadRecordDO setNumberTotalRows(Long numberTotalRows) {
        this.numberTotalRows = numberTotalRows;
        return this;
    }

    public Long getNumberLoadedRows() {
        return numberLoadedRows;
    }

    public DorisLoadRecordDO setNumberLoadedRows(Long numberLoadedRows) {
        this.numberLoadedRows = numberLoadedRows;
        return this;
    }

    public Long getNumberFilteredRows() {
        return numberFilteredRows;
    }

    public DorisLoadRecordDO setNumberFilteredRows(Long numberFilteredRows) {
        this.numberFilteredRows = numberFilteredRows;
        return this;
    }

    public Long getNumberUnselectedRows() {
        return numberUnselectedRows;
    }

    public DorisLoadRecordDO setNumberUnselectedRows(Long numberUnselectedRows) {
        this.numberUnselectedRows = numberUnselectedRows;
        return this;
    }

    public Long getReadDataTimeMs() {
        return readDataTimeMs;
    }

    public DorisLoadRecordDO setReadDataTimeMs(Long readDataTimeMs) {
        this.readDataTimeMs = readDataTimeMs;
        return this;
    }

    public Long getWriteDataTimeMs() {
        return writeDataTimeMs;
    }

    public DorisLoadRecordDO setWriteDataTimeMs(Long writeDataTimeMs) {
        this.writeDataTimeMs = writeDataTimeMs;
        return this;
    }

    public Long getReceiveDataTimeMs() {
        return receiveDataTimeMs;
    }

    public DorisLoadRecordDO setReceiveDataTimeMs(Long receiveDataTimeMs) {
        this.receiveDataTimeMs = receiveDataTimeMs;
        return this;
    }

    public String getSchemaName() {
        return schemaName;
    }

    public DorisLoadRecordDO setSchemaName(String schemaName) {
        this.schemaName = schemaName;
        return this;
    }

    public String getTableName() {
        return tableName;
    }

    public DorisLoadRecordDO setTableName(String tableName) {
        this.tableName = tableName;
        return this;
    }

    public String getTraceId() {
        return traceId;
    }

    public DorisLoadRecordDO setTraceId(String traceId) {
        this.traceId = traceId;
        return this;
    }

    public LocalDateTime getLoadTime() {
        return loadTime;
    }

    public DorisLoadRecordDO setLoadTime(LocalDateTime loadTime) {
        this.loadTime = loadTime;
        return this;
    }

    public String getErrorURL() {
        return errorURL;
    }

    public DorisLoadRecordDO setErrorURL(String errorURL) {
        this.errorURL = errorURL;
        return this;
    }
}
